package org.bee.output;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.bee.model.BaseModel;

import java.util.Date;

/**
* @author 陈国松
* @date 2024-08-03 17:31:46
* @description 部门表output层
* 表 department
*/
public class DepartmentOut implements BaseModel {
    /**
    * 部门编号
    */
    private String id;
    /**
    * 部门名称
    */
    private String departmentName;
    /**
    * 所属部门编号
    */
    private String pid;
    /**
    * 所属部门名称
    */
    private String parentName;
    /**
    * 创建人
    */
    private String createUser;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
    * 修改人
    */
    private String updateUser;
    /**
    * 修改时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
    * 备注
    */
    private String remark;
    /**
    * 排序
    */
    private Integer orderNum;

        public String getId() {
            return id;
        }
        public void setId(String id) {
        this.id = id == null ? null : id.trim();
        }
        public String getDepartmentName() {
            return departmentName;
        }
        public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName == null ? null : departmentName.trim();
        }
        public String getPid() {
            return pid;
        }
        public void setPid(String pid) {
        this.pid = pid == null ? null : pid.trim();
        }
        public String getParentName() {
            return parentName;
        }
        public void setParentName(String parentName) {
        this.parentName = parentName == null ? null : parentName.trim();
        }
        public String getCreateUser() {
            return createUser;
        }
        public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
        }
        public Date getCreateTime() {
            return createTime;
        }
        public void setCreateTime(Date createTime) {
        this.createTime = createTime;
        }
        public String getUpdateUser() {
            return updateUser;
        }
        public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
        }
        public Date getUpdateTime() {
            return updateTime;
        }
        public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        }
        public String getRemark() {
            return remark;
        }
        public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
        }
        public Integer getOrderNum() {
            return orderNum;
        }
        public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
        }
}